<html>
<head></head>
<body>
<form action="" method="post">
	<input name="n" type="text" id="n">
	<input type="submit" name="Submit" value="Submit" onClick="opener.document.all.name.value=document.all.n.value;window.close();">
</form>
</body>
</html>